<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
    <meta charset="UTF-8"/>
    <title>修改用户信息</title>
    <link rel="stylesheet" type="text/css" href="/CourseDesign4/manage/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="/CourseDesign4/manage/css/main.css"/>
</head>
<body>
	
	<!-- 菜单 -->
	<%@ include file="admin_menu.jsp" %>
	
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/CourseDesign4/manage/admin_index.jsp">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="/CourseDesign4/admin_douserquery">用户管理</a><span class="crumb-step">&gt;</span><span>修改用户</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="/CourseDesign4/manage/admin_douserupdate" method="post" id="myform" name="myform">
                	<input type="hidden" name="cpage" value="${cpage}">
                    <table class="insert-tab" width="100%">
                        <tbody>
                            <tr>
                                <th><i class="require-red">*</i>用户名：</th>
                                <td>
                                    <input class="common-text required" name="username" size="50" type="text" value="${user.id}" readonly="readonly">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>用户姓名：</th>
                                <td>
                                    <input class="common-text required" id="name" name="name" size="50" value="${user.username}" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>登录密码：</th>
                                <td>
                                    <input class="common-text required" id="password" name="password" size="50" value="${user.userpassword}" type="password">
                                </td>
                            </tr>
                            <%-- <tr>
                                <th><i class="require-red">*</i>确认密码：</th>
                                <td>
                                    <input class="common-text required" id="repassword" name="repassword" size="50" value="${user.userpassword}" type="password">
                                </td>
                            </tr> --%>
                            <tr>
                                <th><i class="require-red">*</i>性别：</th>
                                <td>
                                    <input type="radio" name="sex" value="T" ${user.sex=="T"?"checked":""}>男
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <input type="radio" name="sex" value="F" ${user.sex=="F"?"checked":""}>女
                                </td>
                            </tr>
                            <tr>
                                <th>出生日期：</th>
                                <td><input class="common-text" name="birthday" size="50" type="text" value="${user.birthday}"></td>
                            </tr>
                            <tr>
                                <th>电子邮箱：</th>
                                <td><input class="common-text" name="email" size="50" type="text" value="${user.email}"></td>
                            </tr>
                            <tr>
                                <th>移动电话：</th>
                                <td><input class="common-text" name="phone" size="50" type="text" value="${user.phone}"></td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>送货地址：</th>
                                <td>
                                    <input class="common-text required" id="address" name="address" size="50" value="${user.address}" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>图片：</th>
                                <td><input name="smallimg" id="" type="file"><!--<input type="submit" onclick="submitForm('/jscss/admin/design/upload')" value="上传图片"/>--></td>
                            </tr>
                            <tr>
                                <th>个人留言：</th>
                                <td><textarea name="content" class="common-textarea" id="content" cols="30" style="width: 98%;" rows="10" value="暂无">暂无</textarea></td>
                            </tr>
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onClick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
</div>
</body>
</html>	